package com.scwatch.core.repository;

import com.scwatch.common.orm.Limitable;
import com.scwatch.core.domain.Videolib;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.repository.Repository;

import java.util.List;

/**
 * VideolibDao
 * 
 * @author gjl
 * 
 */
public interface VideolibDao extends Repository<Videolib, Integer> {
	public Page<Videolib> findAll(Specification<Videolib> spec, Pageable pageable);

	public List<Videolib> findAll(Specification<Videolib> spec, Limitable limitable);

	public List<Videolib> findAll(Iterable<Integer> ids);

	public Videolib findOne(Integer id);

}
